package com.xing.serviceedu.mapper;

import com.xing.serviceedu.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xing.serviceedu.entity.vo.CoursePublishVo;
import com.xing.serviceedu.entity.vo.CourseWebVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author xingfuao
 * @since 2022-01-09
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {

    //根据课程id查询课程信息
    CoursePublishVo getPublicCourseInfo(String courseId);

    //获取课程信息
    CourseWebVo getBaseCourse(String courseId);


}
